package com.example.aichat.mapper;

import com.example.aichat.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserMapper {
    User login(@Param("user_account") String user_account, @Param("user_psw") String user_psw);
    int insertUser(User user);
    User findByAccount(@Param("user_account") String user_account);

}

